/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.aqlm.data;

import java.util.List;
import org.rainbow.annotation.xml.ChildNode;
import org.rainbow.annotation.xml.ParentAttr;

/**
 *
 * @author hironaga
 */
public class OptionUDO {

    @ParentAttr( attrName="group_id" )
    private String groupId;

    @ParentAttr( attrName="group_name" )
    private String groupName;

    @ChildNode( elementName="option" )
    private List<MenuUDO> options;

    @Override
    public String toString() {
        return //super.toString();
                "groupId: " + this.groupId +
                "groupName: " + this.groupName +
                "options" + this.options
                ;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public List<MenuUDO> getOptions() {
        return options;
    }

    public void setOptions(List<MenuUDO> options) {
        this.options = options;
    }

}
